#include <stdio.h>
int main(int argc, char const *argv[])
{
    printf("int 类型占用的字节大小为 %ld 字节\n", sizeof(int));
    printf("short int 类型占用的字节大小为 %ld 字节\n", sizeof(short));
    printf("long int 类型占用的字节大小为 %ld 字节\n", sizeof(long));
    printf("float 类型占用的字节大小为 %ld 字节\n", sizeof(float));
    printf("double 类型占用的字节大小为 %ld 字节\n", sizeof(double));
    printf("long double类型占用的字节大小为 %ld 字节\n", sizeof(long double));
    return 0;
}
